package com.yu.xcx.mapper;

import com.yu.xcx.entity.Shop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;


public interface ShopMapper extends BaseMapper<Shop> {
    @Select("select images from tb_shop where id = ${id}")
    String getImages(Integer id);

    @Select("select * from tb_shop where id = ${id}")
    Shop getById(Integer id);
}

